package com.design.pattern.flyweight;

/**
 * 坐标类,封装了汽车的显示位置
 */
public class Coordinate {
    Integer x,y,z;

    public Coordinate(Integer x, Integer y, Integer z) {
        this.x = x;
        this.y = y;
        this.z = z;
    }

    public Integer getX() {
        return x;
    }

    public Integer getY() {
        return y;
    }

    public Integer getZ() {
        return z;
    }
}
